package com.gameGroups.Mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.gameGroups.Dto.GiveLikeDto;
@Repository
public interface GiveLikeNumberMapper {
	//查询作品所有的赞
	List<GiveLikeDto> queryGiveLikeNumberList(String uid);
	//点赞
	Integer addGiveLike(GiveLikeDto giveLikeDto);
	//取消赞
	Integer deleteGiveLike(GiveLikeDto giveLikeDto);
	Integer addWorksGiveLike(int wid);
	Integer deleteWorksGiveLike(int wid);
	List<GiveLikeDto> queryGiveLikeWorks(String uid);
	Integer updateGiveLike(@Param("sid")int uid, @Param("pName")String pName);
	
}
